package qldc.pm.tiensu.service.persistence;

import com.liferay.portal.kernel.bean.PortletBeanLocatorUtil;
import com.liferay.portal.kernel.util.ReferenceRegistry;


public class TienSuFinderUtil {
    private static TienSuFinder _finder;

    public static java.util.List<java.lang.Object[]> findByTKTS_Diaphuong_PhuongXa(
        long tinhId, long quanHuyenId, java.util.Date tuNgay,
        java.util.Date denNgay)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByTKTS_Diaphuong_PhuongXa(tinhId, quanHuyenId, tuNgay,
            denNgay);
    }

    public static java.util.List<java.lang.Object[]> findByTKTS_Diaphuong_QuanHuyen(
        long tinhId, java.util.Date tuNgay, java.util.Date denNgay)
        throws com.liferay.portal.kernel.exception.SystemException {
        return getFinder()
                   .findByTKTS_Diaphuong_QuanHuyen(tinhId, tuNgay, denNgay);
    }

    public static TienSuFinder getFinder() {
        if (_finder == null) {
            _finder = (TienSuFinder) PortletBeanLocatorUtil.locate(qldc.pm.tiensu.service.ClpSerializer.getServletContextName(),
                    TienSuFinder.class.getName());

            ReferenceRegistry.registerReference(TienSuFinderUtil.class,
                "_finder");
        }

        return _finder;
    }

    public void setFinder(TienSuFinder finder) {
        _finder = finder;

        ReferenceRegistry.registerReference(TienSuFinderUtil.class, "_finder");
    }
}
